home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Turnbull China Bikeride
/
Turnbull China Bikeride - Disc 1.iso
/
ARGONET
/
PD
/
PROGRAMMING
/
DESKLIBC
/
SOURCES.ZIP
/
DeskLib
/
!DLSources
/
Libraries
/
Str
/
Static
/
Makefile
< prev
Wrap
Makefile
|
1995-09-04
|
2KB
|
96 lines
ObjectFiles = \
o.DecodeHex \
o.LeafName \
o.MakeASCIIZ \
o.MakeCR \
o.MakeHex \
o.strcmpcr \
o.strdup \
o.stricmp \
o.stricmpcr \
o.strlencr \
o.strncpycr \
o.strnicmp \
o.strnicmpcr \
o.strcatcr \
o.strcpycr \
LibName = Str
# Template makefile which makes normal
# .o files for use in the main static
# linking DeskLib.
# The macro $(ObjectFiles) should be set at the
# start of this file to be a space-separated
# list of object files.
# This is done by 'Makatic'.
# The macro $(LibName) should also be set at the
# start of this file, to be the name of the
# DeskLib sublibrary.
# This is done by 'Makatic'.
# Compiler and linker flags, These can be anything.
# All essential flags are included in the macros
# $(CC) and $(ASM)
#
CCFlags = -ffahi $(CCExtra) -depend !Depend -throwback -D_DeskLib_$(LibName) -I,C:
ASMFlags = -Stamp -NoCache -CloseExec -Quit $(ASMExtra)
CC = cc -c $(CCFlags)
ASM = objasm $(ASMFlags)
# -------------------------------------------------------
# Everything below here should probably not be changed...
# -------------------------------------------------------
# Here's what we want to make...
#
All: $(ObjectFiles)
VPATH = @.^
.SUFFIXES: .c .s .o
.c.o:
$(CC) $< -o $@
.s.o:
$(ASM) -from $< -to $@
# Dynamic dependencies:
o.DecodeHex: ^.c.DecodeHex
o.DecodeHex: DeskLib:h.Str
o.LeafName: ^.c.LeafName
o.LeafName: DeskLib:h.Str
o.MakeASCIIZ: ^.c.MakeASCIIZ
o.MakeASCIIZ: DeskLib:h.Str
o.MakeCR: ^.c.MakeCR
o.MakeCR: DeskLib:h.Str
o.MakeHex: ^.c.MakeHex
o.MakeHex: DeskLib:h.Str
o.strcmpcr: ^.c.strcmpcr
o.strcmpcr: DeskLib:h.Str
o.strdup: ^.c.strdup
o.strdup: DeskLib:h.Str
o.stricmp: ^.c.stricmp
o.stricmp: DeskLib:h.Str
o.stricmpcr: ^.c.stricmpcr
o.stricmpcr: DeskLib:h.Str
o.strlencr: ^.c.strlencr
o.strlencr: DeskLib:h.Str
o.strncpycr: ^.c.strncpycr
o.strncpycr: DeskLib:h.StringCR
o.strncpycr: DeskLib:h.Str
o.strnicmp: ^.c.strnicmp
o.strnicmp: DeskLib:h.Str
o.strnicmpcr: ^.c.strnicmpcr
o.strnicmpcr: DeskLib:h.Str